/**
 * ZxzAction.java
 *2013年10月7日下午6:30:30
 *LINKT
 */
package com.jskj.actions;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;

import org.apache.struts2.ServletActionContext;

import com.jskj.commons.BaseAction;
import com.jskj.dao.DaoZxz;

/**
 * @author LINKT
 *
 */
public class ZxzAction extends BaseAction {

        /**
         * 
         */
        private static final long serialVersionUID = 1L;

        private String page;
        private String start;
        private String limit;
        
        private String jyz_sh;
        private String jyz_swjg;
        private String ccyear;
        private String ccmonth;
        public void getZxzList() {
                HttpServletRequest request=ServletActionContext.getRequest();
                HttpSession session=request.getSession();
                if (jyz_swjg.equals("")) {
                        jyz_swjg=(String)session.getAttribute("swjg_dm");
                }
                String sbyf=ccyear+(ccmonth.length()>1?"":"0")+ccmonth;
                DaoZxz daoZxz=new DaoZxz();
                this.out(daoZxz.getZxzList(Integer.parseInt(page), Integer.parseInt(limit),sbyf, jyz_swjg, jyz_sh));
                
        }


        public String getJyz_sh() {
                return jyz_sh;
        }


        public void setJyz_sh(String jyz_sh) {
                this.jyz_sh = jyz_sh;
        }



        public String getCcyear() {
                return ccyear;
        }


        public void setCcyear(String ccyear) {
                this.ccyear = ccyear;
        }


        public String getCcmonth() {
                return ccmonth;
        }


        public void setCcmonth(String ccmonth) {
                this.ccmonth = ccmonth;
        }


        public String getJyz_swjg() {
                return jyz_swjg;
        }


        public void setJyz_swjg(String jyz_swjg) {
                this.jyz_swjg = jyz_swjg;
        }


        public String getPage() {
                return page;
        }


        public void setPage(String page) {
                this.page = page;
        }


        public String getStart() {
                return start;
        }


        public void setStart(String start) {
                this.start = start;
        }


        public String getLimit() {
                return limit;
        }


        public void setLimit(String limit) {
                this.limit = limit;
        }
}
